﻿@inject Eqwww.Config.IAppConfigProvider AppConfigProvider
@{
    Layout = null;
    var appConfig = AppConfigProvider.Load();
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewData["Title"]</title>

    <link rel="stylesheet" type="text/css" href="~/lib/fontawesome/css/all.min.css" />
    <link rel="stylesheet" type="text/css" href="~/lib/mdui/css/mdui.min.css" />
    <link rel="stylesheet" type="text/css" href="~/lib/jqgrid5/css/ui.jqgrid-mdui.css" asp-append-version="true" />
    <link rel="stylesheet" type="text/css" href="~/css/manage_index.css" asp-append-version="true" />
    
</head>
<body class="mdui-theme-primary-@appConfig.DefaultThemeColor mdui-theme-accent-@appConfig.DefaultAccentColor ">
    <div id="zhezhaobox" class="mdui-valign" style="position:fixed;width:100%;height:100%;z-index:9999;background:#ffffff;">
        <div class="mdui-container-fluid mdui-text-center">
            <div class="mdui-spinner mdui-spinner-colorful mdui-text-center"></div>
            <p>加载中...</p>
        </div>
        
    </div>
    <a id="eq-scroll-to-top" class="mdui-hidden mdui-fab mdui-ripple mdui-fab-fixed mdui-color-theme-accent" style="z-index:100;" href="javascript:;"><i class="mdui-icon material-icons">arrow_upward</i></a>

    @RenderBody()
    @Html.AntiForgeryToken()


    <script src="~/lib/jquery/dist/jquery.min.js"></script>
    <script src="~/lib/mdui/js/mdui.min.js"></script>
    <script src="~/lib/layer/layer.js"></script>
    <script src="~/js/layerconfig.js" asp-append-version="true"></script>
    <script src="~/js/manage/modal.js" asp-append-version="true"></script>
    <script src="~/lib/datepicker/WdatePicker.js"></script>
    <script src="~/lib/jquery-slimscroll/min.js"></script>
    <script src="~/lib/jqgrid5/js/jquery.jqGrid.min.js"></script>
    <script src="~/lib/jqgrid5/js/i18n/grid.locale-cn.js"></script>
    <script src="~/js/framework-ui.js" asp-append-version="true"></script>
    <script src="~/js/manage/manageindex.js" asp-append-version="true"></script>

    <script>
        $(function () {
            if (self != top) {
                //top.$.loading(true);
                top.$.loadingLayer(false);
                top.$.loadingBox(true);
                setTimeout(function () { $('#zhezhaobox').remove(); }, 200);
            }

            $('#eq-scroll-to-top').bind('click', function () {
                $("html,body").animate({ scrollTop: 0 }, 200);
            });


        });
    </script>

    @RenderSection("Scripts", required: false)
</body>
</html>

